

package com.cvo.scrumtoolkit.client.entities;

import java.io.Serializable;
import java.util.Date;
import java.util.LinkedList;
import java.util.List;

import com.googlecode.objectify.annotation.Entity;
@Entity
public class BacklogItem implements Serializable {
	@javax.persistence.Id
	private Long Id;
	private String name;
	private String prioriteit;
	private int geschatteTijd;
	//private List<WorkItem> workItems;
	private String projectId;
	private int sprintnummer;
	private Date date;

	//public BacklogItem(){
	//	this.workItems = new LinkedList<WorkItem>();
	//}
	
	public String getBacklogItemName() {
		return name;
	}



	public BacklogItem setBacklogItemName(String name) {
		this.name = name;
		return this;
	}



	public String getPrioriteit() {
		return prioriteit;
	}



	public BacklogItem setPrioriteit(String prioriteit) {
		this.prioriteit = prioriteit;
		return this;

	}



	public int getGeschatteTijd() {
		return geschatteTijd;
	}



	public BacklogItem setGeschatteTijd(int geschatteTijd) {
		this.geschatteTijd = geschatteTijd;
		return this;

	}



	public Long getId() {
		return Id;
	}



	public BacklogItem getBacklogItem() {
		return this;
	}
	
/*	public List<WorkItem> getWorkItems() {
		return workItems;
	}
	
	public void setWorkItem(WorkItem workItem){
		this.workItems.add(workItem);
	}*/

	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}



	public Date getDate() {
		return date;
	}



	public void setDate(Date date) {
		this.date = date;
	}



	public int getSprintnummer() {
		return sprintnummer;
	}



	public void setSprintnummer(int sprintnummer) {
		this.sprintnummer = sprintnummer;
	}
}
